import Http from '@/lib/http';

export function region (parentId = 0) {
  return Http.get('/common/address/region', {
    parentId,
  }, null, true);
}

export function passportUrl () {
  return Http.get('/common/passportUrl');
}

export function getDomain (type) {
  return Http.get('/common/domain', { type }, null, true);
}
